<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/notes.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Kevin's Homepage</title>
<!-- InstanceEndEditable -->
<link href="../main.css" rel="Stylesheet">



<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body>

<div id="container">

		<div id="imagehi"><img id="hi" src="../images/hi.gif" alt="picture hi" /></div>
	
  		<div id="rightcolumn">
		<div id="title">
			<h1 id="titletext">Kevin's Home</h1>
		</div>
		
		<ol id="navlinks">
			<li><a href="../index.html">Home</a></li>
			<li><a href="../aboutmyself.html">About Myself</a></li>
			<li><a href="../photoalbum/photoalbum.html">Photo Album</a></li>
			<li><a href="notes.html">Quick Notes</a></li>
			<li class="last"><a href="../links.html">Links</a></li>
		</ol>
		
	    
	<div id="leftbar">  
		<ol>
			<li><a href="c.html">C &amp; C++</a></li>
			<li><a href="java.html">Java</a></li>
			<li><a href="perl.html">Perl</a></li>
			<li><a href="centos.html">Centos</a></li>
			<li><a href="unix.html">Unix</a></li>
			<li><a href="css.html">CSS</a></li>
			<li><a href="php.html">PHP</a></li>
			<li><a href="sql.html">SQL</a></li>
			<li><a href="photoshop.html">Photoshop</a></li>
			<li><a href="windows.html">Windows</a></li>
			<li><a href="numbers.html">Numbers</a></li>
			<li><a href="misc.html">Misc</a></li>
		</ol>
	</div><!-- end of leftbar -->
	    <!-- InstanceBeginEditable name="EditRegion_submain" -->
	    <div id="main">
          <h3><a href="http://www.php.net">PHP</a></h3>
			<table class="mtable">
			<tbody>
				<tr>
					<td>L.A.M.P.</td>
					<td>Linux <a href="http://www.apache.org">Apache</a> <a href="http://www.mysql.com">MySQL</a> PHP</td>
				</tr>
				
				<tr>
					<td><a href="http://www.wampserver.com/en">W.A.M.P.</a></td>
					<td>Windows Apache MySQL PHP</td>
				</tr>
				
				<tr>
					<td>M.A.M.P.</td>
					<td>Mac Apache MySQL PHP</td>
				</tr>
				<tr>
				  <td><a href="http://www.apachefriends.org/en">X.A.M.P.</a></td>
				  <td>An OS, Apache MySQL PHP</td>
			  </tr>
			</tbody>
			</table>
			
			<h4>Regular Expression</h4>
			<table class="mtable">
			<tbody>
				<tr>
					<td>^</td>
					<td>Matches the beginning of a line</td>
				</tr>
				
				<tr>
					<td><a href="http://www.wampserver.com/en">$</a></td>
					<td><p>Matches the end of a line</p></td>
				</tr>
				
				<tr>
					<td>.</td>
					<td>Matches any single character</td>
				</tr>
				<tr>
				  <td>*</td>
				  <td>Matches zero or more occurences of the character immediately preceding it</td>
			  </tr>
				<tr>
				  <td>+</td>
				  <td>Matches one or more occurences of the character or regular expression immediately preceding it</td>
			  </tr>
				<tr>
				  <td>?</td>
				  <td>Matches 0 or 1 occurence of the character or regular expression immediately preceding it</td>
			  </tr>
				<tr>
				  <td>\</td>
				  <td>Escapes a special character like: \$ literally means $</td>
			  </tr>
				<tr>
				  <td>[]</td>
				  <td>Matches any character inside the brackets</td>
			  </tr>
				<tr>
				  <td>[c1-c2]</td>
				  <td>A range, like: [0-9] or [A-Za-z] for digits and numbers</td>
			  </tr>
				<tr>
				  <td>[^c1-c2]</td>
				  <td>Matches any character not in this range, like: [^,] which matches any character that is not a comma</td>
			  </tr>
				<tr>
				  <td>|</td>
				  <td>An Or condition, like (him|her)</td>
			  </tr>
			</tbody>
		  </table>
			<p>yum install php-xml</p>
			<p>install zend debugger, add the following in /etc/php.ini<br />
			  [Zend]<br />
			  zend_extension=/usr/lib/httpd/modules/ZendDebugger.so<br />
			  zend_debugger.allow_hosts=192.168.139.*<br />
		    zend_debugger.expose_remotely=always</p>
        </div>
    <!-- InstanceEndEditable --></div><!-- end of rightcolumn div -->
</div><!-- end of container div -->

<div id="footer">
	<p>Website design by <a href="../index.html">Kevin Mu Qing</a>; Hosting by <a href="http://www.jimlei.com" target="_blank">Jim Xianyu Lei</a></p>
</div>

</body>
<!-- InstanceEnd --></html>
